import request from '@/utils/request'

//查询收房合同列表
export function getSFContractList(query) {
  return request({
    url: '/financial/settlementHouse/getSFContractList',
    method: 'get',
    params: query
  })
}
//  根据租房合同id查询
export function getSFContractById(id) {
  return request({
    url: '/financial/settlementHouse/getSFContractById/'+id,
    method: 'get',
  })
}
//  添加收房贷申请
export function saveSfContractStage(data) {
  return request({
    url: '/financial/settlementHouse/saveSfContractStage',
    method: 'post',
    params: data,
  })
}
//  计算器
export function getCounterList(data) {
  return request({
    url: '/financial/settlementHouse/counter',
    method: 'post',
    params: data,
  })
}

